import request from '@/utils/request'

// 获取面试通知书列表
export function getInterviewNoticeList(params) {
    return request({
        url: '/api/interview-notice/page',
        method: 'get',
        params
    })
}

// 获取面试通知书详情
export function getInterviewNoticeDetail(id) {
    return request({
        url: `/api/interview-notice/${id}`,
        method: 'get'
    })
}

// 保存或更新面试通知书
export function saveInterviewNotice(data) {
    return request({
        url: '/api/interview-notice/save',
        method: 'post',
        data
    })
}

// 删除面试通知书
export function deleteInterviewNotice(id) {
    return request({
        url: `/api/interview-notice/${id}`,
        method: 'delete'
    })
}

// 批量删除面试通知书
export function batchDeleteInterviewNotice(ids) {
    return request({
        url: '/api/interview-notice/batch',
        method: 'delete',
        data: ids
    })
} 